﻿#pragma once

#include "SysBase.h"

namespace Base {

	// 包含  inputLayout
	class VertexShader {
	public:
		VertexShader(const char* relativePath,
			const char* entry);

		ID3DBlob* GetDxVsBlob() const { return m_vsBuffer.Get(); }

		ID3D11VertexShader* GetDxVertexShader()const {
			return m_vertexShader.Get();
		}

	private:

		void Init(const char* relativePath,
			const char* entry);

	private:
		ComPtr<ID3D11VertexShader> m_vertexShader;
		ComPtr<ID3DBlob> m_vsBuffer;
	};
}
